package cn.bqjr.eily.samples.entity.po;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hillfly
 * @since 2017-05-30
 */
@TableName("sys_user_role")
public class UserRole implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId
	private Long userRoleId;
    /**
     * 角色ID
     */
	private Long roleId;
    /**
     * 用户ID
     */
	private Long userId;


	public Long getUserRoleId() {
		return userRoleId;
	}

	public UserRole setUserRoleId(Long userRoleId) {
		this.userRoleId = userRoleId;
		return this;
	}

	public Long getRoleId() {
		return roleId;
	}

	public UserRole setRoleId(Long roleId) {
		this.roleId = roleId;
		return this;
	}

	public Long getUserId() {
		return userId;
	}

	public UserRole setUserId(Long userId) {
		this.userId = userId;
		return this;
	}

	public static final String USERROLEID = "userRoleId";

	public static final String ROLEID = "roleId";

	public static final String USERID = "userId";

}
